/**
 * Created by MrHung on 3/10/14.
 */
$(document).on('click','#resetpasssm', function(){
    $.mobile.loading('show');
    var email =  $('#email').val();
    $.ajax({
        url: _host + 'login/authEmailForgot',
        type: 'POST',
        data: { email: email },
        crossDomain: true
    }).done(function(data){
        jdata = JSON.parse(data);
        console.log(jdata);
        $.mobile.loading('hide');
        alert('Reset password thành công, vui lòng check lại email!');
    });
});